Travelpayouts\modules\searchForms\components\SearchFormShortcode S

Total Complexity 42
Dependencies 7
Dependents 5
Total lines 294
Lines of code 166
Logical lines of code 67
Comment lines 64
Methods 19
Properties 10

Methods 19

Method Rating Maintainability Complexity Lines of code
mergeAttributesWithWidgetCode()
A
52 8 28
getModel()
S
66 5 8
modelValidator()
S
63 4 11
idOrSlugValidator()
S
59 3 14
rules()
S
52 1 33
renderWidget()
S
59 2 15
before_validate()
S
71 2 6
render()
S
79 2 3
getMarker()
S
65 2 10
setHotel_city()
S
74 2 5
setOrigin()
S
72 2 5
setDestination()
S
72 2 5
shortcodeTags()
S
80 1 3
render_shortcode_static()
S
73 1 5
getOrigin()
S
82 1 3
getDestination()
S
82 1 3
getHotel_city()
S
82 1 3
getWidgetCode()
S
82 1 3
setApplyparamsfromcode()
S
79 1 3